package com.lzj.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 通用查询视图对象 sys_com_query
 *
 * @author lzj
 * @date 2024-10-18
 */
@Data
@ExcelIgnoreUnannotated
public class SysComQueryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 关键字
     */
    @ExcelProperty(value = "关键字")
    private String code;

    /**
     * sql语句
     */
    @ExcelProperty(value = "SQL语句")
    private String customSql;

    /**
     * 说明
     */
    @ExcelProperty(value = "说明")
    private String remark;

    /**
     * 请求参数
     */
    @ExcelProperty(value = "请求参数")
    private Map<String, Object> params = new HashMap<>();

}
